/**
 * 子进程，定时轮询执行JiraService，从Jira服务器中获取数据
 */
const JiraService = require('./JiraService');

const INTERVAL_TIME = 30 * 60 * 1000;

JiraService.run();

setInterval(async function () {
  await JiraService.run();
}, INTERVAL_TIME);